package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品的基本属性对象 goods_spu
 * 
 * @author ruoyi
 * @date 2022-01-25
 */
public class GoodsSpuAndCategoryNameVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long goodSpuId;

    /** 商品所属类别的ID */
    @Excel(name = "商品所属类别的ID")
    private Long goodSpuCategoryId;

    /** 商品的轮播图展示图片 */
    @Excel(name = "商品的轮播图展示图片")
    private String topImage;

    /** 首页图片 */
    @Excel(name = "首页图片")
    private String homeImage;

    /** 商品标题 */
    @Excel(name = "商品标题")
    private String goodTitle;

    /** 首页home显示的商品价格 */
    @Excel(name = "首页home显示的商品价格")
    private String price;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 类别*/
    @Excel(name = "类别")
    private String categoryName;

    public String getTopImage() {
        return topImage;
    }

    public void setTopImage(String topImage) {
        this.topImage = topImage;
    }

    public String getHomeImage() {
        return homeImage;
    }

    public void setHomeImage(String homeImage) {
        this.homeImage = homeImage;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public void setGoodSpuId(Long goodSpuId)
    {
        this.goodSpuId = goodSpuId;
    }

    public Long getGoodSpuId() 
    {
        return goodSpuId;
    }
    public void setGoodSpuCategoryId(Long goodSpuCategoryId) 
    {
        this.goodSpuCategoryId = goodSpuCategoryId;
    }

    public Long getGoodSpuCategoryId() 
    {
        return goodSpuCategoryId;
    }

    public void setGoodTitle(String goodTitle) 
    {
        this.goodTitle = goodTitle;
    }

    public String getGoodTitle() 
    {
        return goodTitle;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodSpuId", getGoodSpuId())
            .append("goodSpuCategoryId", getGoodSpuCategoryId())
            .append("topImage", getTopImage())
            .append("homeImage", getHomeImage())
            .append("goodTitle", getGoodTitle())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("isDelete", getIsDelete())
            .append("categoryName",getCategoryName())
            .toString();
    }
}
